export interface PersonInter { //定义接口,限制person对象的具体属性
    id: string,
    name: string,
    age: number,
    address?: string //?可有可无
}

export type Persons = Array<PersonInter> //自定义类型
export type Personss = PersonInter[]